package com.hww.entity;

public class Agreement<T> {
	private T data;
	private Integer code;
	private String msg;
	private String path;

	public Agreement(String msg, String path) {
		super();
		this.msg = msg;
		this.path = path;
	}

	public Agreement(T data, Integer code, String msg, String path) {
		super();
		this.data = data;
		this.code = code;
		this.msg = msg;
		this.path = path;
	}

	public T getData() {
		return data;
	}

	@Override
	public String toString() {
		return "Agreement [data=" + data + ", code=" + code + ", msg=" + msg + ", path=" + path + "]";
	}

	public void setData(T data) {
		this.data = data;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public Agreement() {
		super();
		// TODO Auto-generated constructor stub
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}
}
